#include <QtGui/QApplication>
#include "vqbform.h"
#include "vqbmainwindow.h"

#include <QFont>

#include <kaboutdata.h>
#include <kapplication.h>
#include <kcmdlineargs.h>
#include <kdebug.h>


int main(int argc, char *argv[])
{
    //QApplication app(argc, argv);
    KAboutData about( "vqb",
                  0,
                  ki18n("VQB"),
                  "0.1",
                  ki18n("Visual Query Builder for SPARQL based on the local Nepomuk storage"),
                  KAboutData::License_GPL,
                  ki18n("(C) 2009 Oszkar Ambrus"),
                  KLocalizedString(),
                  0,
                  "aoszkar@gmail.com");
    about.addAuthor( ki18n("Oszkar Ambrus"), KLocalizedString(), "aoszkar@gmail.com" );
    KCmdLineOptions options;
    KCmdLineArgs::init( argc, argv, &about);
    //options.add("+[URL]", ki18n( "Document to open" ));
    KCmdLineArgs::addCmdLineOptions(options);

    KApplication app;
    //QFont f;
    //f.setPointSize(9);
    //app.setFont(f);
    VqbMainWindow w;
    w.show();
    return app.exec();
}

